import React from 'react'

class App extends React.Component {
    click(props){
        // console.log(props.match.path)
        props.history.push('/')
    }
    render() {
        console.log(this.props.match)
        return (
            <div>
                list
                <button onClick={()=>this.click(this.props)}>
                    点击
                </button>
            </div>
        )
    }
}
export default App
